import Vue from 'vue'
import App from './App'
import router from './router'
// import iView from 'iview'
import store from './store'

// 定制iview 的主题颜色
// import './config/iview-theme/theme.less'
import './assets/css/zhaopin.css'

import "highlight.js/styles/default.css"
import hljs from "highlight.js"

// 引入中旅视拓的插件,然后开始引用
import zlstPlugin from "@zlst/index.js"
Vue.use(zlstPlugin)

// 添加一个固定的token，便于发送ajax请求
window.localStorage.setItem("token","8df629e2-ca8b-4df8-86ae-1d45b3984832");

// Vue.use(iView)


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
    store,
  template: '<App/>',
  components: { App },
  mounted: function (){
      // alert("http://www.baidu.com".isURL());
      // alert(new Date().format("yyyy-MM-dd hh:mm:ss"));
      // alert(new Date().format("yyyy-MM-dd hh:mm:ss").dateStart());
      // alert(new Date().format("yyyy-MM-dd hh:mm:ss").dateEnd());
      // alert(new Date().dateStart());
      // alert(new Date().dateEnd());

    hljs.initHighlightingOnLoad();
  }
});
